package net.loodies;


import java.util.ArrayList;
import java.util.Hashtable;

import android.graphics.Bitmap;

public class Resource {
	// Loader resources : JSON, images, url notification, url destination en thread

	public ArrayList<Bitmap> 	 mBitmaps;
	public Bitmap mFixedBitmap;
	public Hashtable<String, Bitmap> mMapBitmapNames;
	
	public String  mUrlDestination;	
	public String  mUrlNotification;
	public String  mUrlImage;	
	public String  mType;
	public int     mDuration;
	public boolean mbHasAnchorBitmap = false;
	public String mMessageAnchor;
	private boolean mbValid;
	
	public Resource(){
	
		mBitmaps  =  new ArrayList<Bitmap>();
		mMapBitmapNames = new Hashtable<String, Bitmap>();
		mMessageAnchor = new String("");
		
	}

	public boolean IsValid() {
		mbValid = (mType!=null);
		return mbValid;
	}
}
